package com.fqgj.sentry.controller.pc.response;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * Created by liupengpeng on 2017/8/14.
 */
public class PolicyInfoResponse implements Serializable {

    private PolicyInfo policyInfo;

    public PolicyInfoResponse(PolicyInfo policyInfo) {
        this.policyInfo = policyInfo;
    }

    private class PolicyInfo {
        /**
         * 策略集id
         */
        Long policySetsId;
        /**
         * 执行者id
         */
        Long executorId;
        /**
         * 策略编码
         */
        String code;
        /**
         * 名称
         */
        String name;
        /**
         * 匹配类型 1：首次匹配 2最坏匹配 3 权重匹配
         */
        Integer matchingType;
        /**
         * 权重范围区间
         */
        String weightRange;
        /**
         * 策略类型 1：规则组 2评分卡
         */
        Integer type;
        /**
         * 基础分
         */
        BigDecimal baseScore;
        /**
         * 说明
         */
        String info;
        /**
         * 字段:评分卡时展示
         */
        String columnCode;
        /**
         * 字段描述
         */
        String columnName;

        public Long getPolicySetsId() {
            return policySetsId;
        }

        public PolicyInfo setPolicySetsId(Long policySetsId) {
            this.policySetsId = policySetsId;
            return this;
        }

        public Long getExecutorId() {
            return executorId;
        }

        public PolicyInfo setExecutorId(Long executorId) {
            this.executorId = executorId;
            return this;
        }

        public String getCode() {
            return code;
        }

        public PolicyInfo setCode(String code) {
            this.code = code;
            return this;
        }

        public String getName() {
            return name;
        }

        public PolicyInfo setName(String name) {
            this.name = name;
            return this;
        }

        public Integer getMatchingType() {
            return matchingType;
        }

        public PolicyInfo setMatchingType(Integer matchingType) {
            this.matchingType = matchingType;
            return this;
        }

        public String getWeightRange() {
            return weightRange;
        }

        public PolicyInfo setWeightRange(String weightRange) {
            this.weightRange = weightRange;
            return this;
        }

        public Integer getType() {
            return type;
        }

        public PolicyInfo setType(Integer type) {
            this.type = type;
            return this;
        }

        public BigDecimal getBaseScore() {
            return baseScore;
        }

        public PolicyInfo setBaseScore(BigDecimal baseScore) {
            this.baseScore = baseScore;
            return this;
        }

        public String getInfo() {
            return info;
        }

        public PolicyInfo setInfo(String info) {
            this.info = info;
            return this;
        }

        public String getColumnCode() {
            return columnCode;
        }

        public PolicyInfo setColumnCode(String columnCode) {
            this.columnCode = columnCode;
            return this;
        }

        public String getColumnName() {
            return columnName;
        }

        public PolicyInfo setColumnName(String columnName) {
            this.columnName = columnName;
            return this;
        }
    }
}
